package com.dengqi.mymodule.activity.guide;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Toast;

import com.dengqi.mymodule.BaseActivity;
import com.dengqi.mymodule.R;

import androidx.annotation.Nullable;

/**
 * 四种方式：https://blog.csdn.net/weixin_40290793/article/details/78851002
 * Created by dell on 2018/6/19
 */

public class GuideActivity extends BaseActivity {
    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_guide);
    }

    public void onBtn1(View view) {
        startActivity(new Intent(this, ViewFlipperActivity.class));
    }

    public void onBtn2(View view) {
        startActivity(new Intent(this, SplashActivity.class));
    }

    public void onBtn3(View view) {
        startActivity(new Intent(this, Splash2Activity.class));
    }

    public void onBtn4(View view) {
        startActivity(new Intent(this, ViewPagerActivity.class));
    }

    public void onBtn5(View view) {
        /**
         * 这个不是非常常见，在赶集网和墨迹天气APP中可以看到，通过水平滑动可以实现某种效果
         * Android引导页框架
         * AppIntro
         * guideshow:   github地址：https://github.com/javajavadog/guideshow
         * GlidingTutorial-Android   github地址：https://github.com/Cleveroad/slidingtutorial-android
         */
        Toast.makeText(this, "暂无", Toast.LENGTH_SHORT).show();
    }
}
